﻿using SelfMadeMillionaire.Core.Entities;
using SelfMadeMillionaire.Core.Enums;
using SelfMadeMillionaire.Core.Specifications;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SelfMadeMillionaire.Core.Services
{
	public interface IPublicationService
	{
		Publication Add(Publication publication);
		Publication Update(Publication publication);
		Publication Get(int id);
		IEnumerable<Publication> GetList(ISearchSpecification<Publication> specification);
		void Remove(int id);
		void Send(int id, string emailTemplate);
        void Hide(int id);
        void Show(int id);
	}
}
